#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
char* my_strcpy(char* p1, char* p2)
{
	char* p = p1;
	while (*p1++ = *p2++)
	{
		;
	}
	return p;
}
int main()
{
	char arr1[10] = "xxx";
	char arr2[10] = "abcdefghi";
	printf("%s",my_strcpy(arr1, arr2));
	return 0;
}